package exception

import java.io.{FileNotFoundException, FileReader}

class Demo {
  def read() = {
    try {
      val f = new FileReader("input.txt")
    } catch {
      case e: FileNotFoundException => println("no such file"+e)
    }finally {
      println("finally say what")
    }
  }
}
